package com.liu.frame.customview;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.FrameLayout;

import in.srain.cube.views.ptr.PtrUIHandler;

/**
 * Created by 刘智强 on 2017/2/17.
 * ptrframelayout自定义刷新footer
 */

public abstract class MyPtrFrameLayoutFooter extends FrameLayout implements PtrUIHandler {
    public MyPtrFrameLayoutFooter(Context context) {
        super(context);
        initView(context);
    }

    public MyPtrFrameLayoutFooter(Context context, AttributeSet attrs) {
        super(context, attrs);
        initView(context);
    }

    public MyPtrFrameLayoutFooter(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initView(context);
    }

    public abstract void initView(Context context);
}
